﻿using System;
namespace HBKY.Shop.Common.LogHelper
{
    /// <summary>
    /// 控制台帮助类
    /// </summary>
    public static class PrettyConsoleHelper
    {
        public static void Line(string text, ConsoleColor colour = ConsoleColor.Yellow)
        {
            var originalColour = Console.ForegroundColor;
            Console.ForegroundColor = colour;
            Console.WriteLine($"---------------------{text}---------------------");
            Console.ForegroundColor = originalColour;
        }
    }
}
